<?php

//require_once('database_connection.php');
require_once 'database_connection.php';

$date = date('Y-m-d H:i:s');
$insertQuery = "INSERT INTO `users`
(`name`,`email`,`password`,`register_date`,`status`) VALUES
('Rasmus Lerdorf','zeev@andi.com','1q1q1q','$date','1')";

echo $insertQuery;

mysql_query($insertQuery) or die(mysql_error());

echo "\n\n";
echo mysql_insert_id();
